Optimal. Leaf size=48 \[ \frac {2 B \sqrt {a+b x^3}}{3 b}-\frac {2 A \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {446, 80, 63, 208} \begin {gather*} \frac {2 B \sqrt {a+b x^3}}{3 b}-\frac {2 A \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 80
Rule 208
Rule 446
Rubi steps
\begin {align*} \int \frac {A+B x^3}{x \sqrt {a+b x^3}} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {A+B x}{x \sqrt {a+b x}} \, dx,x,x^3\right )\\ &=\frac {2 B \sqrt {a+b x^3}}{3 b}+\frac {1}{3} A \operatorname {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^3\right )\\ &=\frac {2 B \sqrt {a+b x^3}}{3 b}+\frac {(2 A) \operatorname {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^3}\right )}{3 b}\\ &=\frac {2 B \sqrt {a+b x^3}}{3 b}-\frac {2 A \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 48, normalized size = 1.00 \begin {gather*} \frac {2 B \sqrt {a+b x^3}}{3 b}-\frac {2 A \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.04, size = 48, normalized size = 1.00 \begin {gather*} \frac {2 B \sqrt {a+b x^3}}{3 b}-\frac {2 A \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.01, size = 105, normalized size = 2.19 \begin {gather*} \left [\frac {A \sqrt {a} b \log \left (\frac {b x^{3} - 2 \, \sqrt {b x^{3} + a} \sqrt {a} + 2 \, a}{x^{3}}\right ) + 2 \, \sqrt {b x^{3} + a} B a}{3 \, a b}, \frac {2 \, {\left (A \sqrt {-a} b \arctan \left (\frac {\sqrt {b x^{3} + a} \sqrt {-a}}{a}\right ) + \sqrt {b x^{3} + a} B a\right )}}{3 \, a b}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 40, normalized size = 0.83 \begin {gather*} \frac {2 \, A \arctan \left (\frac {\sqrt {b x^{3} + a}}{\sqrt {-a}}\right )}{3 \, \sqrt {-a}} + \frac {2 \, \sqrt {b x^{3} + a} B}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 37, normalized size = 0.77 \begin {gather*} -\frac {2 A \arctanh \left (\frac {\sqrt {b \,x^{3}+a}}{\sqrt {a}}\right )}{3 \sqrt {a}}+\frac {2 \sqrt {b \,x^{3}+a}\, B}{3 b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.08, size = 54, normalized size = 1.12 \begin {gather*} \frac {A \log \left (\frac {\sqrt {b x^{3} + a} - \sqrt {a}}{\sqrt {b x^{3} + a} + \sqrt {a}}\right )}{3 \, \sqrt {a}} + \frac {2 \, \sqrt {b x^{3} + a} B}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.72, size = 57, normalized size = 1.19 \begin {gather*} \frac {2\,B\,\sqrt {b\,x^3+a}}{3\,b}+\frac {A\,\ln \left (\frac {{\left (\sqrt {b\,x^3+a}-\sqrt {a}\right )}^3\,\left (\sqrt {b\,x^3+a}+\sqrt {a}\right )}{x^6}\right )}{3\,\sqrt {a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 11.27, size = 65, normalized size = 1.35 \begin {gather*} \frac {2 A \operatorname {atan}{\left (\frac {1}{\sqrt {- \frac {1}{a}} \sqrt {a + b x^{3}}} \right )}}{3 a \sqrt {- \frac {1}{a}}} - \frac {B \left (\begin {cases} - \frac {x^{3}}{\sqrt {a}} & \text {for}\: b = 0 \\- \frac {2 \sqrt {a + b x^{3}}}{b} & \text {otherwise} \end {cases}\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________